package com.yupi.springbootinit.statemachine.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 状态转换历史查询请求DTO
 */
@Data
@Schema(description = "状态转换历史查询请求")
public class StateTransitionHistoryRequest {
    
    @NotBlank(message = "实体类型不能为空")
    @Schema(description = "实体类型", example = "ORDER", allowableValues = {"ORDER", "PROCESS_INSTANCE", "PROCESS_SHEET", "PRODUCTION_SCHEDULE", "QUALITY_INSPECTION"})
    private String entityType;
    
    @NotNull(message = "实体ID不能为空")
    @Schema(description = "实体ID", example = "1001")
    private Long entityId;
}